package com.itheima.controller.v1.api;

import com.itheima.common.R;
import com.itheima.dto.BusinessQueryDto;
import com.itheima.pojo.TbBusiness;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.omg.CORBA.LongHolder;

@Api("商机相关接口文档")
public interface TbBusinessControllerApi {

    @ApiOperation("新建商机")
    public R addBusiness(TbBusiness tbBusiness);

    @ApiOperation("查询分页信息")
    public R selectPage(BusinessQueryDto businessQueryDto);

    @ApiOperation("分配商机部门接口")
    public R Assign();

    @ApiOperation("分配商机选择人员")
    public R AssignChioce(Long id);

    @ApiOperation("新建商机学科接口")
    public R subject();

    @ApiOperation("修改商机")
    public R modify(TbBusiness business);
    //公海池管理接口

    @ApiOperation("公海捞取接口")
    public R gain(Long[] ids);
}
